﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Common.Background.Models
{
    /// <summary>
    /// 作为页面Tag的模型
    /// </summary>
    public class LinkModel
    {
        public string LinkName { get; private set; }
        public string LinkUrl { get; private set; }
        public LinkModel(string linkName, string linkUrl)
        {
            this.LinkName = linkName;
            this.LinkUrl = linkUrl ?? "#";
        }
        public LinkModel(string linkName)
            : this(linkName, null)
        {
        }
    }
}